package com.qinglian.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qinglian.entity.Friend;
import com.qinglian.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author augn
 * @since 2023-04-24
 */
@Repository
public interface FriendMapper extends BaseMapper<Friend> {

    List<Integer> getFriendId(Integer userId);
    List<Integer> getReqFriendId(Integer userId);
    String getFriendNotes(@Param("userId") Integer userId, @Param("friendId") Integer friendId);
}
